package cn.yunbamboos.mybatis.mapping.sqlnode;

import org.apache.ibatis.scripting.xmltags.SqlNode;
import org.apache.ibatis.scripting.xmltags.TrimSqlNode;
import org.apache.ibatis.session.Configuration;

import java.util.Collections;
import java.util.List;

public class CustomSetSqlNode extends TrimSqlNode {

    private static final List<String> COMMA = Collections.singletonList(",");

    public CustomSetSqlNode(Configuration configuration, SqlNode contents) {
        super(configuration, contents, "set", COMMA, null, COMMA);
    }
}
